Writes a file directly to a web page response. This method should be used whenever possible, as it has much better performance than reading a file into a stream and copying it to the response.
Parent Type: SharePointPackageReader
Namespace: Microsoft.LearningComponents.SharePoint
Assembly: Microsoft.LearningComponents.SharePoint.dll
| C# |
|
public override void TransmitFile ( ) |
filePath
The package-relative path to the file.
response
The response to write to.